package com.brother.realtime;

public interface Command {
public String CMD_TYPE_GSN = "1";


/**
 * 老的跟踪器使用的协议
 */
public String CMD_TYPE_DATA = "2";

public String CMD_TYPE_CONFIG_STATUS = "3"; //  The returned status when configure the tracker
public String CMD_TYPE_CONFIG_REQUEST_STATUS = "4";	
public String CMD_TYPE_HEART_BREAK = "5";	
public String CMD_TYPE_REQUEST_ADDRESS = "6";

/**
 * !7,V1.06.1048,csq; //V1.06.1048：软件版本 CSQ:信号强度
 */
public String CMD_TYPE_REQ_TRACKER_VERSION = "7"; 


/**
 * 升级发送帧数据ok
 * !8,blockAll,blockNum,ok; 
 */
public String CMD_TYPE_UPGRADE_FRAME_OK = "8";



/**
 * 升级发送帧数据error
 * !9,blockAll,blockNum,error;
 */
public String CMD_TYPE_UPGRADE_FRAME_ERROR = "9";


/**单条数据：
 * !A,date,time,lat,lot,speed,degrees,flag;
 * !A,01/12/10,13:25:35,22.641724,114.023666,000.1,281.6,0;
 * date：01/12/10    //日/月/年
 * time：13:25:35    //时：分：秒
 * lat ：22.641724   //实数
 * lot ：114.023666
 * speed：000.1     
 * degrees：281.6
 * flag：0
 */
public String CMD_TYPE_SINGLE_DATA = "A";

public String CMD_TYPE_MUTIL_DATA = "B";



public String THIRD_PARTY_CMD_A1 = "CMD-A1";

public String THIRD_PARTY_CMD_A2 = "CMD-A2";

public String THIRD_PARTY_CMD_A3 = "CMD-A3";


public String THIRD_PARTY_CMD_A4 = "CMD-A4";


public String THIRD_PARTY_CMD_A5 = "CMD-A5";

/**
 * reply for F command, Locate one time
 */
public String THIRD_PARTY_CMD_F="CMD-F";

/**
 * “CMD-T” continuous tracking
 */
public String THIRD_PARTY_CMD_T = "CMD-T";

/**
 * “CMD-M” suggest response for interval time set
 */
public String THIRD_PARTY_CMD_M = "CMD-M";

/**
 * “CMD-J” reply for J command, Set speeding alarm 	
 */
public String THIRD_PARTY_CMD_J = "CMD-J";

/**
 * “CMD-I” reply for I command, Set GEO fence
 */
public String THIRD_PARTY_CMD_I = "CMD-I";

/**
 *  “CMD-L ” reply for L command, Set the time zone
 */
public String THIRD_PARTY_CMD_L = "CMD-L";

/**
 * “CMD-N” reply for N command, Set low battery alarm  
 */
public String THIRD_PARTY_CMD_N = "CMD-N";

/**
 * “CMD-H” reply for H command, Modify the password
 */
public String THIRD_PARTY_CMD_H = "CMD-H";

/**
 * “CMD-T1” reply for T1 command, Recover ACC or engine 
 */
public String THIRD_PARTY_CMD_T1 = "CMD-T1";

/**
 * “CMD-T0” reply for T0 command, Cut the ACC or engine
 */
public String THIRD_PARTY_CMD_T0 = "CMD-T0";

/**
 * “CMD-U1” reply for U1 command, Switch to the listen in mode 
 */
public String THIRD_PARTY_CMD_U1 = "CMD-U1";

/**
 * “CMD-U0” reply for U0 command, Switch to the talk mode
 */
public String THIRD_PARTY_CMD_U0 = "CMD-U0";

/**
 *  “CMD-C” reply for C command, Set the APN,IP and port
 */
public String THIRD_PARTY_CMD_C = "CMD-C";

/**
 * “CMD-O” reply for O command, Set the username and password for the APN.
 */
public String THIRD_PARTY_CMD_O = "CMD-O";

/**
 * “CMD-X” Heartbeat data, it will send this  data to keep the connection  with  the server if no data communicate between the tracker and server for a long time.
 */
public String THIRD_PARTY_CMD_X = "CMD-X";

/**
 * “ALM-A” SOS  alarm
 */
public String THIRD_PARTY_CMD_A = "ALM-A";

/**
 * “ALM-B” GEO alarm “ALM-C” Speeding alarm “ALM-D” Low-battery alarm
 */
public String THIRD_PARTY_CMD_ALM_B = "ALM-B";

/**
 * “ALM-B” GEO alarm “ALM-C” Speeding alarm “ALM-D” Low-battery alarm
 */
public String THIRD_PARTY_CMD_ALM_C = "ALM-C";

/**
 * “ALM-B” GEO alarm “ALM-C” Speeding alarm “ALM-D” Low-battery alarm
 */
public String THIRD_PARTY_CMD_ALM_D = "ALM-D";

/**
 * “ERROR!” Setting unsuccessful, means you did you send the sentences in the correct format
 */
public String THIRD_PARTY_CMD_ERROR = "ERROR!";

}
